from tortoise import BaseDBAsyncClient


async def upgrade(db: BaseDBAsyncClient) -> str:
    return """
        ALTER TABLE `student` MODIFY COLUMN `pwd` VARCHAR(60) NOT NULL  COMMENT '密码';"""


async def downgrade(db: BaseDBAsyncClient) -> str:
    return """
        ALTER TABLE `student` MODIFY COLUMN `pwd` VARCHAR(32) NOT NULL  COMMENT '密码';"""
